#ifndef _TASK_SENSOR_DECT_H_
#define _TASK_SENSOR_DECT_H_

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"

#include "key.h"
#include "../my_driver/adc_driver.h"

#include "../Product_Config.h"
#include "../LOG.h"

typedef struct 
{
    u8 key_num;
    EM_DRV_ACT drvAct;
}key_act_param; //按键枚举行

extern QueueHandle_t sensor_dect_queue;

void task_sensor_dectect_init();
u8 get_adc_read_value();

#endif  // _TASK_SENSOR_DECT_H_